package org.example.ssm.properties;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * @author 莫磊
 * @date 2025/8/19
 * @description
 */
@Data
@Component
@ConfigurationProperties(prefix = "user")
public class UserProperties {
    /**
     * 输入用户的名字
     */
    private String name;

    /**
     * 输入用户年龄
     */
    private String age;
}
